package com.syh.jn.scm.domain.supplier.repository.logistics;

import com.syh.core.ddd.infrastructure.repository.ReadRepo;
import com.syh.jn.scm.domain.supplier.entity.logistics.LogisticsBill;
import com.syh.jn.scm.domain.supplier.entity.logistics.LogisticsBillItem;

import java.util.List;

/**
 * Created by soci.song on 2018/11/2.
 */
public interface LogisticsBillReadRepository extends ReadRepo<LogisticsBill, Long> {
    /**
     * 根据订单id获取订单项
     * @param id
     * @return
     */
    List<LogisticsBillItem> getItemsByLogisticsBillId(Long id);

    List<LogisticsBillItem> getItemsByLogisticsBillIds(Long[] logisticsBillIds);
}
